home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_remote.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  2.9 KB  |  97 lines

  1. /*****************************************************************************
  2.   FILE           : ui_remote.ph
  3.   SHORTNAME      : remote.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 20.7.1990
  11.  
  12.   CHANGED BY     : Michael Vogt, Guenter Mamier
  13.   IDENTIFICATION : @(#)ui_remote.ph    1.9 3/2/94
  14.   SCCS VERSION   : 1.9 
  15.   LAST CHANGE    : 3/2/94  
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_REMOTE_DEFINED_
  23. #define _UI_REMOTE_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. void  ui_xCreateRemotePanel(Widget parent);
  30.  
  31.  
  32. /* shell widget of remote panel */
  33. Widget    ui_remotePanel;
  34. /* ascii and label widgets containing/displaying data */
  35. Widget    ui_numberOfStepsWidget, ui_numberOfStepsDoneWidget;
  36. Widget    ui_numberOfCyclesWidget, ui_numberOfPatternWidget;
  37. Widget    ui_showModeLabel;
  38. Widget    ui_showPattFile;
  39. Widget    REM_UFileMenu;
  40. Widget    REM_DFileMenu;
  41. Widget    USEPattFileWidget[NO_OF_PAT_SETS+1];
  42. Widget    DELPattFileWidget[NO_OF_PAT_SETS+1];
  43. Widget    subIPatSizeW[5],subIPatStepW[5],subIPatPosW[5];
  44. Widget    subOPatSizeW[5],subOPatStepW[5],subOPatPosW[5];
  45. Widget    in_dim_widgets[5];
  46. Widget    out_dim_widgets[5];
  47. Widget    ui_learnParameterWidgets[UI_NO_LEARN_PARAMS];
  48. Widget    ui_updateParameterWidgets[UI_NO_UPDATE_PARAMS];
  49.  
  50. /* current configuration of remote panel */
  51. int       ui_noOfCurrentPattern = 0;  /* number of current pattern
  52.                                          0 means, no patterns loaded */
  53. int       ui_patternLoadMode    = OUTPUT_ACT;
  54. int       SubPatPanel = -1;     /* == -1 sup pattern panel so far never created
  55.                    ==  0 not poped up right now
  56.                    ==  1 poped up right now */
  57. int       ui_numberOfStepsDone  = 0;
  58. int       subIPatSize[5] = {1, 1, 1, 1, 1};
  59. int       subIPatPos[5]  = {1, 1, 1, 1, 1};
  60. int       subIPatStep[5] = {1, 1, 1, 1, 1};
  61. int       subOPatStep[5] = {1, 1, 1, 1, 1};
  62. int       subOPatSize[5] = {1, 1, 1, 1, 1};
  63. int       subOPatPos[5]  = {1, 1, 1, 1, 1};
  64. int       subIPatNo;
  65. int       subIPatDims;
  66. int       subOPatDims;
  67. float     ui_learnParameters[UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS] = {
  68.                 0.2, 0.0, 0.0, 0.0, 0.0 };
  69. float     ui_updateParameters[UI_NO_UPDATE_PARAMS] = {
  70.                 0.0, 0.0, 0.0, 0.0, 0.0 };
  71. float     ui_initParameters[UI_NO_INIT_PARAMS] = {
  72.                 1.0, -1.0, 0.0, 0.0, 0.0 };
  73. Bool      ui_shuffleFlg         = FALSE;
  74. Bool      ui_shuffleSubPatFlg   = FALSE;
  75. Bool      ui_remoteIsCreated    = FALSE;
  76. Bool      UPatFilesLoaded;
  77. Bool      DPatFilesLoaded;
  78.  
  79. /* end global definition section */
  80.  
  81.  
  82. /* begin private definition section */
  83.  
  84.  
  85. static int       ui_numberOfCycles     = 1;
  86. static int       ui_numberOfSteps      = 1;
  87.  
  88.  
  89. /* end private definition section */
  90.  
  91.  
  92. #endif /* _UI_REMOTE_DEFINED_ */
  93.  
  94.  
  95. /* end of file */
  96. /* lines: 25 */
  97.